package com.pdg.android.splorr.data.enums;

import com.pdg.android.splorr.R;

public enum MoveAheadResult {
	SUCCESS(true,R.string.move_action_result_move_ahead_success), 
	IMPASSABLE(false,R.string.move_action_result_move_ahead_impassable), 
	DOOR_CLOSED(false,R.string.move_action_result_move_ahead_door_closed), 
	DOOR_LOCKED(false,R.string.move_action_result_move_ahead_door_locked);
	private boolean success;
	private int stringId;

	MoveAheadResult(boolean isSuccess,int theStringId){
		setSuccess(isSuccess);
		setStringId(theStringId);
	}

	private void setSuccess(boolean isSuccess) {
		success = isSuccess;
	}

	private void setStringId(int theStringId) {
		stringId = theStringId;
	}
	public boolean isSuccess(){
		return success;
	}
	public int getStringId(){
		return stringId;
	}
}
